package tr.edu.metu.is550.isell.domain;

import javax.persistence.Basic;
import javax.persistence.Embeddable;

@Embeddable
public class UserContactInfo {
    @Basic
    private String name;
    @Basic
    private String surname;
    @Basic
    private String address;
    @Basic
    private String phone;
    @Basic
    private String email;

    public UserContactInfo() {
    }

    public UserContactInfo(String name, String surname, String address, String phone, String email) {
        this.name = name;
        this.surname = surname;
        this.address = address;
        this.phone = phone;
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public String getSurname() {
        return surname;
    }

    public String getAddress() {
        return address;
    }

    public String getPhone() {
        return phone;
    }

    public String getEmail() {
        return email;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
